<?php
/**
 * Created by PhpStorm.
 * User: wangkai
 * Date: 2017/10/28
 * Time: 9:01
 */

namespace app\controllers;


use yii\web\Controller;

class OrderController extends Controller
{
   // public $layout=false;
    public function actionIndex(){
        $this->layout='layout2';
        return $this->render('index');
    }
     public function actionCheck(){
         $this->layout='layout1';
         return $this->render('check');
     }

}